import { httpReq } from "@/utils/http.js"

const GetBobaoList = (data) => {
	return httpReq({
		url: '/cangku/GetBobaoList',
		method: 'GET',
		data
	})
}

const CreateToDayBobao = (data) => {
	return httpReq({
		url: '/cangku/CreateToDayBobao',
		method: 'POST',
		data
	})
}

const EditToDayBobao = (data) => {
	return httpReq({
		url: '/cangku/EditToDayBobao',
		method: 'POST',
		data
	})
}

const DelteToDayBobao = (data) => {
	return httpReq({
		url: '/cangku/DelteToDayBobao',
		method: 'GET',
		data
	})
}


const ToDayBobaoDetile = (data) => {
	return httpReq({
		url: '/cangku/ToDayBobaoDetile',
		method: 'GET',
		data
	})
}

const GetMyBobao = (data) => {
	return httpReq({
		url: '/cangku/GetMyBobao',
		method: 'GET',
		data
	})
}

const CreateToDayBobaoERji = (data) => {
	return httpReq({
		url: '/cangku/CreateToDayBobaoERji',
		method: 'POST',
		data
	})
}

const DelteToDayBobaoERji = (data) => {
	return httpReq({
		url: '/cangku/DelteToDayBobaoERji',
		method: 'POST',
		data
	})
}

export { GetBobaoList, CreateToDayBobao, EditToDayBobao, DelteToDayBobao, ToDayBobaoDetile, GetMyBobao, CreateToDayBobaoERji, DelteToDayBobaoERji }